package com.cntaiping.workutil.indicator;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LogProfile {

    private boolean OpenAim;

    private boolean OpenRemote;

    private boolean OpenRabbitmq;

    private boolean OpenKafka;

    private String aimLogDir;

    private String remoteLogDir;

    private KafkaConfig kafkaConfig;

    private RabbitmqConfig rabbitmqConfig;



    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class KafkaConfig{
        private String kafkaLogDir;

        private String kafkaTopic;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class RabbitmqConfig{

        private String rabbitmqUserName;

        private String rabbitmqPassword;

        private String rabbitmqHost;

        private int rabbitmqPort;

        private String rabbitmqQueue;

        private String rabbitmqExchange;

        private String rabbitmqRoutingKey;
    }




}
